package com.yxb.feedback.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxb.common.annotation.Excel;
import com.yxb.common.core.domain.BaseEntity;

/**
 * 平台留言反馈对象 feedback
 * 
 * @author 林德炫
 * @date 2025-03-27
 */
public class Feedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 留言反馈唯一标识 */
    private Long feedbackId;

    /** 留言发送者ID */
    private Long senderId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户角色 */
    @Excel(name = "用户角色")
    private String userRole;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String messageContent;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String feedbackContent;

    public void setFeedbackId(Long feedbackId) 
    {
        this.feedbackId = feedbackId;
    }

    public Long getFeedbackId() 
    {
        return feedbackId;
    }
    public void setSenderId(Long senderId) 
    {
        this.senderId = senderId;
    }

    public Long getSenderId() 
    {
        return senderId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserRole(String userRole) 
    {
        this.userRole = userRole;
    }

    public String getUserRole() 
    {
        return userRole;
    }
    public void setMessageContent(String messageContent) 
    {
        this.messageContent = messageContent;
    }

    public String getMessageContent() 
    {
        return messageContent;
    }
    public void setFeedbackContent(String feedbackContent) 
    {
        this.feedbackContent = feedbackContent;
    }

    public String getFeedbackContent() 
    {
        return feedbackContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feedbackId", getFeedbackId())
            .append("senderId", getSenderId())
            .append("userName", getUserName())
            .append("userRole", getUserRole())
            .append("messageContent", getMessageContent())
            .append("createTime", getCreateTime())
            .append("feedbackContent", getFeedbackContent())
            .toString();
    }
}
